package com.sui.bigdata.rtcadmin.service;

import com.sui.bigdata.rtcadmin.model.dto.ResourceInfoDto;
import com.sui.bigdata.rtcadmin.model.vo.CommonResponse;
import com.sui.bigdata.rtcadmin.repository.model.ResourceInfo;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @Author: TingWuHuang
 * @Date: 2020/7/2 11:06
 * @description
 */
@Service
public interface ResourceInfoService {

    CommonResponse add(MultipartFile file, String remarks, String fileName, String resource);

    CommonResponse update(MultipartFile file, String remarks, String fileName, String resource);

    CommonResponse deleteFile(String fileName);

    CommonResponse select(ResourceInfoDto resourceInfoDto);
}
